<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head >
    <meta charset="UTF-8">
    <title>超市订单管理系统</title>
    <link type="text/css" rel="stylesheet" href="/../css/style.css" />
    <link type="text/css" rel="stylesheet" href="/../css/public.css" />
</head>
<body>
<!--头部-->
    <header class="publicHeader">
        <h1>超市订单管理系统</h1>
        <div class="publicHeaderR">
            <p><span>下午好！</span><span style="color: #fff21b"> admin</span> , 欢迎你！</p>
            <a href="/jsp/logout.do">退出</a>
        </div>
    </header>
<!--时间-->
    <section class="publicTime">
        <span id="time">2015年1月1日 11:11  星期一</span>
        <a href="#">温馨提示：为了能正常浏览，请使用高版本浏览器！（IE10+）</a>
    </section>
 <!--主体内容-->
 <section class="publicMian ">
     <div class="left">
         <h2 class="leftH2"><span class="span1"></span>功能列表 <span></span></h2>
         <nav>
             <ul class="list">
                 <li ><a href="../bill/list">订单管理</a></li>
              <li><a href="/jsp/provider.do?method=query">供应商管理</a></li>
              <li><a href="/jsp/user.do?method=query">用户管理</a></li>
              <li><a href="/jsp/pwdmodify.jsp">密码修改</a></li>
              <li><a href="/jsp/logout.do">退出系统</a></li>
             </ul>
         </nav>
     </div>
     <input type="hidden" id="path" name="path" value="../"/>
     <input type="hidden" id="referer" name="referer" value="../"/>

<div class="right">
        <div class="location">
            <strong>你现在所在的位置是:</strong>
            <span>订单管理页面 >> 订单修改页面</span>
        </div>
        <div class="providerAdd">
          <form id="billForm" name="billForm" method="post" action="doupdate">
				<input type="hidden" name="method" value="modifysave">
				<input type="hidden" name="id" th:value="${bill.id}">
                <!--div的class 为error是验证错误，ok是验证成功-->
                <div class="">
                    <label for="billCode">订单编码：</label>
                    <input type="text" name="billcode" id="billCode" th:value="${bill.billcode}" readonly="readonly">
                </div>
                <div>
                    <label for="productName">商品名称：</label>
                    <input type="text" name="productname" id="productName" th:value="${bill.productname}">
					<font color="red"></font>
                </div>
                <div>
                    <label for="productUnit">商品单位：</label>
                    <input type="text" name="productunit" id="productUnit" th:value="${bill.productunit}">
					<font color="red"></font>
                </div>
                <div>
                    <label for="productCount">商品数量：</label>
                    <input type="text" name="productcount" id="productCount" th:value="${bill.productcount}">
					<font color="red"></font>
                </div>
                <div>
                    <label for="totalPrice">总金额：</label>
                    <input type="text" name="totalprice" id="totalPrice" th:value="${bill.totalprice}">
					<font color="red"></font>
                </div>
                <div>
                    <label for="providerId">供应商：</label>
<!--                    <input type="hidden" th:value="${bill.providerid}" id="pid" />-->
<!--					<select name="providerId" id="providerId">-->
<!--		        	</select>-->
                    <input type="text" name="providerid" id="providerId" th:value="${bill.providerid}">
					<font color="red"></font>
                </div>
                <div>
                    <label >是否付款：</label>
						<input type="radio" name="ispayment" value="1">未付款
						<input type="radio" name="ispayment" value="2">已付款
                </div>
                <div class="providerAddBtn">
                  <input type="submit" name="save" id="save" value="保存">
				  <input type="button" id="back" name="back" value="返回" >
              	</div>
            </form>
        </div>

    </div>
</section>
<footer class="footer">
			版权归朝腾教育
		</footer>
		<script type="text/javascript" src="/../js/time.js"></script>
		<script type="text/javascript" src="/../js/jquery-1.8.3.min.js"></script>
		<script type="text/javascript" src="/../js/common.js"></script>
		<script type="text/javascript" src="/../calendar/WdatePicker.js"></script>
	</body>
</html>
<script type="text/javascript" src="/../js/billmodify.js"></script>